package com.kxmall.huishou.service;

import com.kxmall.huishou.domain.HsWithdrawRecord;
import com.kxmall.huishou.domain.vo.HsWithdrawRecordVo;
import com.kxmall.huishou.domain.bo.HsWithdrawRecordBo;
import com.kxmall.common.core.page.TableDataInfo;
import com.kxmall.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 用户提现记录Service接口
 *
 * @author lyrics
 * @date 2023-12-14
 */
public interface IHsWithdrawRecordService {

    /**
     * 查询用户提现记录
     */
    HsWithdrawRecordVo queryById(Long id);

    /**
     * 查询用户提现记录列表
     */
    TableDataInfo<HsWithdrawRecordVo> queryPageList(HsWithdrawRecordBo bo, PageQuery pageQuery);

    /**
     * 查询用户提现记录列表
     */
    List<HsWithdrawRecordVo> queryList(HsWithdrawRecordBo bo);

    /**
     * 新增用户提现记录
     */
    Boolean insertByBo(HsWithdrawRecordBo bo);

    /**
     * 修改用户提现记录
     */
    Boolean updateByBo(HsWithdrawRecordBo bo);

    /**
     * 校验并批量删除用户提现记录信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
